package com.home.qh.dao;

import java.util.List;

import com.home.qh.model.Partner;

/**
 * Role Data Access Object (DAO) interface.
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */
public interface PartnerDao extends GenericDao<Partner, Long> {
    /**
     * Gets role information based on PartnerDao
     * @param PartnerDao the CityDao
     * @return populated role object
     */
	List<Partner> getPartnerByCodeAndName(String partnerCode, String partnerName);
	
	List<Partner> getPartnerByPartner(Partner partner, String sort, boolean desc, int startResult, int maxResults);
    
}
